<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
	//start 定义一个javascript对象,用于存储要级联的那些数据
	function subProvince(id,parentId,name){
		this.id = id;				//省份id，下拉框的value
		this.parentId = parentId;	//省份对应的国家id
		this.name = name;			//省份名称，下拉框的text
	}
	var subProvinces = new Array();
	
	subProvinces.push(new subProvince('1','1','江苏'));
	subProvinces.push(new subProvince('2','1','湖南'));
	subProvinces.push(new subProvince('3','1','河北'));
	subProvinces.push(new subProvince('4','1','湖北'));
	subProvinces.push(new subProvince('5','1','安徽'));
	subProvinces.push(new subProvince('6','1','江西'));		
	
	function countryChangeEdit(obj){
		var parentId = obj.value;
		var subProvinceSelect = document.getElementById("provinceId");	//显示省级下拉列表		
		
		subProvinceSelect.options.length = 1;
		for(var i = 0; i < subProvinces.length; i++){
			var subProvinceObj = subProvinces[i];
			if(subProvinceObj.parentId == parentId){
				var tempOption = document.createElement("option");
				tempOption.text = subProvinceObj.name;
				tempOption.value = subProvinceObj.id;
				subProvinceSelect.options[subProvinceSelect.options.length] = tempOption;
			}
		}
		if(obj.selectedIndex == 0){
			subProvinceSelect.selectedIndex = 0;
		}
	}//end

	function back(){
		window.location.href = "dictionarySet.html";
		window.location.target = "main";
	}
-->
</script>
</head>
<body>
	<a class="common_title">您现在的位置：数据字典 >> 字典设置--定义字段范围</a>
	
	<div class="tools">
		<a class="save" href="#" title="保存" hidefocus="true">保存</a>&nbsp;&nbsp;&nbsp;&nbsp;
		<a class="back" href="javascript:back();" title="返回" hidefocus="true">返回</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</div>

	<table class="table_input1" style="padding: 0 0 0 20px;">
		<tr>
			<td width="1%"></td>
			<td class="" width="10%">所属国家：</td>
			<td class="">
				<select id="countryId" name="countryId" onchange="countryChangeEdit(this)">
					<option value="0">----------请选择----------</option>
					<option value="1">中国</option>
					<option value="2">美国</option>
				</select>
			</td>
		</tr>
		<tr>
			<td width="1%"></td>
			<td class="" width="">所属省级：</td>
			<td class="">
				<select id="provinceId" name="provinceId">
					<option value="-1">----------请选择----------</option>
					<option>江苏</option>
					<option>河北</option>
					<option>湖南</option>
				</select>
			</td>
		</tr>
		<tr>
			<td width="1%"></td>
			<td class="" width="10%">范围值：</td>
			<td class="" colspan="3"><input class="input_long" type="text"/></td>
		</tr>
	</table>
	
	<table class="table_style" style="text-align: center;">
		<tr><td class="title" colspan="2">当前字段名称：市级</td></tr>
		<tr>
			<td class="title4">范围值</td>
			<td class="title4" width="8%">操作</td>
		</tr>
		<tr>
			<td>启东</td>
			<td>
				<img class="btn_img" src="../../images/a_del.gif" onclick="" title="删除">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td>常熟</td>
			<td>
				<img class="btn_img" src="../../images/a_del.gif" onclick="" title="删除">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td>南京</td>
			<td>
				<img class="btn_img" src="../../images/a_del.gif" onclick="" title="删除">&nbsp;&nbsp;
			</td>
		</tr>
		<tr>
			<td>南通</td>
			<td>
				<img class="btn_img" src="../../images/a_del.gif" onclick="" title="删除">&nbsp;&nbsp;
			</td>
		</tr>
	</table>
	
	<!-- page -->
	<table class="table_page" cellpadding="0" cellspacing="0">
		<tr>
			<td class="title"></td>
			<td class="title">
				200&nbsp;条记录&nbsp;&nbsp;&nbsp;&nbsp;
				共&nbsp;5&nbsp;页&nbsp;&nbsp;&nbsp;&nbsp;
				第&nbsp;1&nbsp;页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="#" target="main" hidefocus="true">首页</a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="#" target="main" hidefocus="true">上一页</a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="#" target="main" hidefocus="true">下一页</a>&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="#" target="main" hidefocus="true">末页</a>
			</td>
			<td class="title"></td>
		</tr>
	</table>
</body>
</html>